package com.qf.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/*
 *@Description:
 *@author:刘哥
 *@Date:86180 2022/10/18 20:29
 */
@FeignClient("sms-platform-cache")
@RequestMapping("/cache")
public interface CacheFeign {

    @RequestMapping(value = "/hmget/{key}", method = RequestMethod.GET)
    public Map hMGet(@PathVariable("key") String key);
}
